<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
<td>{$vo.id}</td>
<td><a title="详细资料" href="javascript:;" onclick="driverInfo({$vo.user_id})" style="text-decoration:none">
    {$vo.realname}
    </a>
</td>
<td>{$vo.group_id}</td>
<td>{$vo.title}</td>
<td>{$vo.rejection_reason}</td>
<td>
{switch name="$vo.group_status"}
    {case value="proceed"}进行中{/case}
    {case value="sendorders"}已派单{/case}
{/switch}
</td>
<td>{$vo.create_time?date('Y-m-d H:i:s',$vo.create_time):"--"}</td>

<script>
    function driverInfo(user_id) {
        var url = '/admin/driver_refuse_order/details';
        if (!user_id){
            layer.msg('缺少必要的参数');
        }
        $.ajax({
            type: 'get',
            url: url,
            data:{ user_id: user_id },
            success: function (data) {
                if (data.code == 1){
                    layer.msg(data.msg)
                    return false
                }else{
                    layer_open('详细资料','/admin/driver_refuse_order/details/user_id/'+user_id,{w:'1300px',h:'750px'})
                }
            }
        })
    }
</script>